<!DOCTYPE html>   
<!--
==========================================================================
云捷GO自动生成新增页面代码,只生成一次,按需修改.
生成日期：2021-08-05 10:09:41
生成路径: template/module/shop/add.html
生成人：gfcms
==========================================================================
-->
<html lang="zh">
<head>
    {{template "header" (ossUrl)}}
    <link href="/resource//ajax/libs/datapicker/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-shop-add">     
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">店铺名称：</label>
                    <div class="col-sm-8">
                        <input name="shopname" class="form-control" type="text" required>
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">店铺描述：</label>
                    <div class="col-sm-8">
                        <textarea name="desc" class="form-control" ></textarea>
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">排序：</label>
                    <div class="col-sm-8">
                        <input name="listorder" class="form-control" type="text" >
                    </div>
                </div>
               
              
                <div class="form-group">
                    <label class="col-sm-3 control-label">状态：</label>
                    <div class="col-sm-8">
                        {{getDictTypeRadio "sys_show_hide" "Status" ""}}
                    </div>
                </div>  
                      
    </form>
</div>
{{template "footer" (ossUrl)}}
<script src="/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.js"></script>

<script type="text/javascript">
    var prefix = ctx + "module/shop";
    $("#form-shop-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-shop-add').serialize());
        }
    }
                      
    
</script>
</body>
</html>